package com.opgea.crm.repository;

import java.util.List;

import com.opgea.crm.domain.entities.Opportunity;

public interface OpportunityRepo {

	public void create(Opportunity opportunity);
	public void update(Opportunity opportunity);
	public void remove(long id);
	public Opportunity find(long id);
	public List<Opportunity> findAll();
	public List<Opportunity> findAllByLeadId(long leadId) ;
	public List<Opportunity> findOpportunityList(String criteria, String value);
	public List<Opportunity> findReport(String periodFrom, String periodTo,String statusType, String stageType );
	
}
